/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package jp.co.irep.juten.view;

import java.io.Serializable;
import java.util.List;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import jp.co.irep.juten.entity.Place;
import jp.co.irep.juten.entity.PlaceProduct;
import jp.co.irep.juten.utils.Consts;

/**
 *
 * @author toan_nguyen
 */

@Named
@SessionScoped
public class PlaceViewBean implements Serializable{
    
    
    
    private String searchPlaceName;
    private int searchPrefectureId;
    
    private int placeId;
    private String placeName;
    private String placeMemo;
    private boolean placeDelFlg;
    private short placePrefectureId;
    
    private List<String> deleteFlgList = Consts.DELETE_FLG;
    
    private List<Place> placeList;
    private List<PlaceProduct> placeProductList;
    private Place selectedPlace;
    
    private String productListNameString;
    private String productListIdString;

    
    public String getSearchPlaceName() {
        return searchPlaceName;
    }

    public void setSearchPlaceName(String searchPlaceName) {
        this.searchPlaceName = searchPlaceName;
    }

    public int getSearchPrefectureId() {
        return searchPrefectureId;
    }

    public void setSearchPrefectureId(int searchPrefectureId) {
        this.searchPrefectureId = searchPrefectureId;
    }

    public List<Place> getPlaceList() {
        return placeList;
    }

    public void setPlaceList(List<Place> placeList) {
        this.placeList = placeList;
    }

    public List<String> getDeleteFlgList() {
        return deleteFlgList;
    }

    public void setDeleteFlgList(List<String> deleteFlgList) {
        this.deleteFlgList = deleteFlgList;
    }

    public List<PlaceProduct> getPlaceProductList() {
        return placeProductList;
    }

    public void setPlaceProductList(List<PlaceProduct> placeProductList) {
        this.placeProductList = placeProductList;
    }

    public String getProductListNameString() {
        return productListNameString;
    }

    public void setProductListNameString(String productListNameString) {
        this.productListNameString = productListNameString;
    }

    public String getProductListIdString() {
        return productListIdString;
    }

    public void setProductListIdString(String productListIdString) {
        this.productListIdString = productListIdString;
    }

    public int getPlaceId() {
        return placeId;
    }

    public void setPlaceId(int placeId) {
        this.placeId = placeId;
    }

    public String getPlaceName() {
        return placeName;
    }

    public void setPlaceName(String placeName) {
        this.placeName = placeName;
    }

    public String getPlaceMemo() {
        return placeMemo;
    }

    public void setPlaceMemo(String placeMemo) {
        this.placeMemo = placeMemo;
    }

    public boolean isPlaceDelFlg() {
        return placeDelFlg;
    }

    public void setPlaceDelFlg(boolean placeDelFlg) {
        this.placeDelFlg = placeDelFlg;
    }

    public short getPlacePrefectureId() {
        return placePrefectureId;
    }

    public void setPlacePrefectureId(short placePrefectureId) {
        this.placePrefectureId = placePrefectureId;
    }

    public Place getSelectedPlace() {
        return selectedPlace;
    }

    public void setSelectedPlace(Place selectedPlace) {
        this.selectedPlace = selectedPlace;
    }
    
    
    
    
}
